import request from "@/utils/request";


export function list(params){
    return request({
        url:'/job/getQuartzJobList',
        method:'get',
        params:params
    })
}


export function deleteJob(params){
    return request({
        url:'/job/deleteJob',
        method:'delete',
        params:params
    })
}

export function deleteBatch(data){
    return request({
        url:'/job/deleteJob',
        method:'post',
        data:data
    })
}

export function updateJobStatus(params){
    return request({
        url:'/job/updateJobStatus',
        method:'get',
        params:params
    })
}

export function updateJob(params){
    return request({
        url:'/job/updateJob',
        method:'get',
        params:params
    })
}

export function addJob(data){
    return request({
        url:'/job/addJob',
        method:'post',
        data:data
    })
}

